//
// Created by 吴锐 on 2022/3/1.
//

#include "iostream"
#include "string"

using namespace std;

void test01(){
    string str1 = "我";
    str1 = str1 + "爱玩游戏";
    cout << "str1 = " << str1 << endl;

    string str2 = "LOL DNF";
    str1 += str2;
    cout << "str1 = " << str1 << endl;

    string str3 = "i";

    str3.append(" love");
    cout << "str3 = " << str3 << endl;

    str3.append("game abcde", 4);
    cout << "str3 = " << str3 << endl;
}

int main(){

    return 0;
}